package com.itheima.dao;

import com.itheima.pojo.User;

import java.util.List;
import java.util.Map;

public interface UserDao {
    //根据用户名查询出用户
    User findUserByUsername(String username);

    //查询用户头像
    String findUserPortraitByUsername(String username);

    List<Map<String, Object>> findMenu();
    List<Map<String, Object>> findMenuById(Integer id);

}
